<%@ Page Language="C#" AutoEventWireup="true" CodeFile="coverletters.aspx.cs" Inherits="JobSeekers_coverletters" %>

<%@ Register Src="jsLeft.ascx" TagName="jsLeft" TagPrefix="uc3" %>
<%@ Register Src="jsBottom.ascx" TagName="jsBottom" TagPrefix="uc8" %>
<%@ Register Src="jsMenu.ascx" TagName="jsMenu" TagPrefix="uc7" %>
<%@ Register Src="jsBanner.ascx" TagName="jsBanner" TagPrefix="uc6" %>
<%@ Register Src="jsTop.ascx" TagName="jsTop" TagPrefix="uc1" %>
<%@ Register Src="jsRight.ascx" TagName="jsRight" TagPrefix="uc4" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>::My Cover Letters</title>
    <LINK href="../css/newstyle.css" rel=stylesheet>
    <LINK href="../css/style.css" rel=stylesheet>
    <META http-equiv=Content-Type content="text/html; charset=utf-8">
</head>
<body topmargin=0 leftmargin=0 bottommargin=0 rightmargin=0 style="font-size: 12pt">
    <form id="form1" runat="server">
    <div title="myaccount">
        <table align="center" style="width: 770px" title="RecruitVietnam">
            <tr>
                <td valign="top" colspan="4">                    
                    <uc1:jsTop ID="RcvTop1" runat="server" />
                </td>
            </tr>
            <tr>
                 <td align="center" colspan="4" valign="top">
                    <uc6:jsBanner ID="JsBanner1" runat="server" />
                </td>
            </tr>
            <tr>
                <td colspan="4" style="height: 21px" valign="top">
                    <uc7:jsMenu ID="JsMenu1" runat="server" />
                </td>
            </tr>
            <tr>
                <td style="width: 160px; height: 351px" valign="top">
                    <uc3:jsLeft ID="RcvLeft1" runat="server" />
                </td>
                <td style="width: 3px; height: 351px">
                </td>
                <td style="width: 610px; height: 351px" valign="top">
                    <table style="width: 100%">
                        <tr>
                            <td style="height: 21px" colspan="1">
                               <asp:Image id="Image1" runat="server" ImageUrl="~/Icons/titlenote.gif"></asp:Image> <asp:Label ID="lblHeader" runat="server" Font-Bold="True" Text="My Cover Letters" Width="394px"></asp:Label></td>
                        </tr>
                        <tr>
                            <td style="width: 100%; height: 21px">
                                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Width="100%" OnRowUpdating="GridView1_RowUpdating">
                                    <Columns>
                                        <asp:BoundField DataField="LetterID" HeaderText="ID">
                                            <ItemStyle Width="0px" HorizontalAlign="Center" />
                                            <HeaderStyle Width="0px" />
                                        </asp:BoundField>
                                        <asp:TemplateField HeaderText="#">
                                            <ItemTemplate>
                                                <asp:CheckBox ID="chkCoverLetterID" runat="server" />
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:HyperLinkField DataNavigateUrlFields="LetterID" DataNavigateUrlFormatString="coverletter.aspx?LetterID={0}"
                                            DataTextField="Subject" HeaderText="Subject" />
                                        <asp:BoundField DataField="CreateDate" HeaderText="Create Date" >
                                            <ItemStyle HorizontalAlign="Center" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="UpdateDate" HeaderText="Update Date" >
                                            <ItemStyle HorizontalAlign="Center" />
                                        </asp:BoundField>
                                        <asp:TemplateField HeaderText="Copy">
                                            <ItemStyle HorizontalAlign="Center" />
                                            <ItemTemplate>
                                                <asp:HyperLink ID="Copy" runat="server" ImageUrl="~/Icons/copy.gif"></asp:HyperLink>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="View">
                                            <ItemTemplate>
                                                <asp:HyperLink ID="View" runat="server" ImageUrl="~/Icons/view.gif"></asp:HyperLink>
                                            </ItemTemplate>
                                            <ItemStyle HorizontalAlign="Center" />
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="Default">
                                            <ItemStyle HorizontalAlign="Center" />
                                            <ItemTemplate>
                                                &nbsp;<asp:ImageButton ID="DefaultLetter" runat="server" CommandName="Update" ImageUrl="~/Icons/edit.gif" />
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                    </Columns>
                                </asp:GridView>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 312px; height: 21px">
                                <asp:Button ID="btnNew" runat="server" Text="Add New" UseSubmitBehavior="False"
                                    Width="70px" OnClick="btnNew_Click" />
                                <asp:Button ID="btnDelete" runat="server" Text="Delete" Width="70px" OnClick="btnDelete_Click" /></td>
                        </tr>
                        <tr>
                            <td nowrap="nowrap">
                                Note: You can post maximum 5 cover letters at RecruitVietnam.com.</td>
                        </tr>
                        <tr>
                            <td style="width: 312px; height: 21px">
                                <asp:Literal ID="literalError" runat="server"></asp:Literal></td>
                        </tr>
                    </table>
                </td>
                <td style="width: 1px; height: 351px" valign="top">
                </td>
            </tr>
            <tr>
              <td align="center" colspan="4">
                  <uc8:jsBottom ID="RcvBottom1" runat="server" />
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>




